---
const response = await fetch("http://localhost:9901/api/getUser");
const data = await response.json();
---
<div class="container">
    <div class="card">
      <p class="job-title">职位名称</p>
      <p class="company">公司名称</p>
      <p class="time">时间</p>
      <p class="job-description">工作描述</p>
    </div>
  </div>
<style>
    .container {
      display: flex;
      justify-content: center;
      align-items: center;
    }
    
    .card {
      background-color: #d9fdfb;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      padding: 20px;
      width: 60%;
      transition: transform 0.3s, box-shadow 0.3s;
      /* text-align: center; */
    }
    
    .card:hover {
      transform: scale(1.15);
      box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    
    .job-title {
      font-size: 24px;
      font-weight: bold;
      margin-bottom: 10px;
    }
    
    .company,
    .time {
      color: #666;
      margin-bottom: 5px;
    }
    
    .job-description {
      margin-bottom: 20px;
    }

    p:hover {
        color: rgb(248, 69, 4);
    }
    </style>
    

    